import Product from '../Product'

export function ProductList({ list }) {
  return (
    <div style={{ borderRadius: '10px' }}>
      {list.length > 0 &&
        list.map((item) => <Product data={item} key={item.id} />)}
    </div>
  )
}
